<extend name="default/public/common" />
<block name="main">
    <include file="default/slider/index" />
    <div class="main">
        <div class="crumb">
            <ul class="breadcrumb">
                <li><i class="icon icon-home"></i></li>
                <li>首页</li>
                <li>系统首页</li>
                <li>系统信息</li>
            </ul>
        </div>
        <div class="container-fluid">
            <div class="widgets row">
                <div class="col-xs-3">
                    <div class="widget">
                        <div class="bg-icon">
                            <i class="icon icon-user text-warning"></i>
                        </div>
                        <div class="text-right">
                          <h2>{$count.users}</h2>
                          <p>用户总数</p>
                        </div>
                    </div>
                </div>
                <div class="col-xs-3">
                    <div class="widget">
                        <div class="bg-icon">
                            <i class="icon icon-file-text text-success"></i>
                        </div>
                        <div class="text-right">
                          <h2>{$count.infos}</h2>
                          <p>资讯总数</p>
                        </div>
                    </div>
                </div>
                <div class="col-xs-3">
                    <div class="widget">
                        <div class="bg-icon">
                            <i class="icon icon-comments text-danger"></i>
                        </div>
                        <div class="text-right">
                          <h2>{$count.infos}</h2>
                          <p>帖子总数</p>
                        </div>
                    </div>
                </div>
                <div class="col-xs-3">
                    <div class="widget">
                        <div class="bg-icon">
                            <i class="icon icon-bug text-info"></i>
                        </div>
                        <div class="text-right">
                          <h2>{$count.bugs}</h2>
                          <p>漏洞总数</p>
                        </div>
                    </div>
                </div>
            </div>
            <div class="widget">
                <div class="widget-heading">
                    <div class="sc-icon">
                        <i class="icon icon-cog"></i>
                    </div><span>系统信息</span>
                </div>
                <div class="widget-body">
                    <table class="system_table">
                        <tbody>
                            <tr>
                                <td class="gray_bg">服务器操作系统：</td>
                                <td>{$sys_info.os}</td>
                                <td class="gray_bg">服务器域名/IP：</td>
                                <td>{$sys_info.domain} [ {$sys_info.ip} ]</td>
                            </tr>
                            <tr>
                                <td class="gray_bg">服务器环境：</td>
                                <td>{$sys_info.web_server}</td>
                                <td class="gray_bg">PHP 版本：</td>
                                <td>{$sys_info.phpv}</td>
                            </tr>
                            <tr>
                                <td class="gray_bg">Mysql 版本：</td>
                                <td>{$sys_info.mysql_version}</td>
                                <td class="gray_bg">GD 版本</td>
                                <td>{$sys_info.gdinfo}</td>
                            </tr>
                            <tr>
                                <td class="gray_bg">文件上传限制：</td>
                                <td>{$sys_info.fileupload}</td>
                                <td class="gray_bg">最大占用内存：</td>
                                <td>{$sys_info.memory_limit}</td>
                            </tr>
                            <tr>
                                <td class="gray_bg">最大执行时间：</td>
                                <td>{$sys_info.max_ex_time}</td>
                                <td class="gray_bg">安全模式：</td>
                                <td>{$sys_info.safe_mode}</td>
                            </tr>
                            <tr>
                                <td class="gray_bg">Zlib支持：</td>
                                <td>{$sys_info.zlib}</td>
                                <td class="gray_bg">Curl支持：</td>
                                <td>{$sys_info.curl}</td>
                            </tr>
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
    </div>
</block>
